import { history } from 'umi';

export default function judgebind(ifs, pathname) {
  if (ifs) {
    history.push('/auth');
  } else {
    //history.replace(pathname);
  }
}
